package cn.tedu.order.mapper;


import cn.tedu.order.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;


public interface OrderMapper extends BaseMapper<Order> {
    void create(Order order);

    //添加状态
    void insertFrozen(Order order);
    void updateStatus(Long orderId,Integer status);

    // 删除方法 deleteById(orderId) 从通用Mapper继承
}